﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Assets.Scripts.TDu3DWork
{
    class TDuCmdActionWorker
    {
        public void onCmdAction(UnityEngine.Object sender, TDuShellEventArgs e)
        {
            switch( e.m_emShellCmd)
            {
                case TDuShellEventArgs.SHELLCMD.BACKMAINMENU:
                    onMainMenuAction(sender, e);
                    break;
                case TDuShellEventArgs.SHELLCMD.FORWARDMODULE:
                    onForwardModuleAction(sender, e);
                    break;
                case TDuShellEventArgs.SHELLCMD.SHOWSCORES:
                    onShowScoreAction(sender, e);
                    break;
                default:
                    break;
            }
        }

        public void onMainMenuAction( UnityEngine.Object sender, TDuShellEventArgs e)
        {

        }

        public void onForwardModuleAction(UnityEngine.Object sender, TDuShellEventArgs e)
        {

        }

        public void onShowScoreAction(UnityEngine.Object sender, TDuShellEventArgs e)
        {

        }
    }
}
